package com.guiwu.caiguanlin.entity;

public class ListNode_21 {
    int val;

    ListNode_21 next;


    public ListNode_21() {
    }

    public ListNode_21(int val) {
        this.val = val;
    }

    public ListNode_21(int val, ListNode_21 next) {
        this.val = val;
        this.next = next;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public ListNode_21 getNext() {
        return next;
    }

    public void setNext(ListNode_21 next) {
        this.next = next;
    }

    @Override
    public String toString() {
        return "ListNode_21{" +
                "val=" + val +
                ", next=" + next +
                '}';
    }
}
